﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 大连顺秋服装厂产线.批次包装贴.service
{
    public class 批次包装贴Service
    {
        public static OrderCommitDTO返回 get订单预览By批号(String batchNo)
        {
            return
                FunctionHelper.JsonDeserialization<OrderCommitDTO返回>(
                    RestCall.httpGetMethod(
                        URL.接口url + "/pmc/getOrderCacheByOrderId?batchNo=" + batchNo
                        )
                    );
        }
    }

    public class OrderCommitDTO返回
    {
        public String orderNo { get; set; }//订单号
        public String customerName { get; set; }//客户信息
        public String materialCode { get; set; }  //面料号
        public String shopName { get; set; }//门店信息 
        public String kashiyamaOrderNo { get; set; }//美国坚山订单号
        public OrderCommitDTO返回()
        {
            this.orderNo = "";
            this.customerName = "";
            this.materialCode = "";
            this.shopName = "";
            this.kashiyamaOrderNo = "";
        }
    }
}
